<?php
if (!defined('BASEPATH'))
	exit('No direct script access allowed');
if (!defined('ASSETS_HELPER')) {
	define('ASSETS_HELPER', true);
	function css_url($nom) {
		return base_url() . 'assets/css/' . $nom;
	}
	function js_url($nom) {
		return base_url() . 'assets/javacript/' . $nom . '.js';
	}
	function img_url($nom) {
		return base_url() . 'assets/images/' . $nom;
	}
	function img($nom, $alt = '') {
		return '<img src="' . img_url($nom) . '" alt="' . $alt . '" />';
	}
	
}
?>